si_as_learn_learnt_rules_l2

Configuration for WAF Learning engine relaxation rules learnt resource.

Read/write properties

rpt_sample_time<Double>

Report Sample time..

adm_learn_profile_name<String>

adm_learn_profile_name.
Minimum length = 1
Maximum length = 32

max_value<Integer>

Maximum length of the filed to be relaxed.

ctnsappname<String>

ctnsappname.
Maximum length = 255

violation_location<Integer>

Violation Location.

field_name<String>

Field name to be relaxed.
Maximum length = 512

field_type<String>

Field type to be relaxed.
Maximum length = 512

min_value<Integer>

minimum length of the field to be relaxed.

value_type<String>

Value type to be relaxed.
Maximum length = 512

value_expr<String>

Value expression to be relaxed.
Maximum length = 512

mode<Integer>

Open (0) or Close(1) mode.

si_device_ip_address<String>

NetScaler IP Address..
Minimum length = 1
Maximum length = 512

profile_name<String>

profile_name.
Maximum length = 255

count_value<Integer>

count for the number of times this rule has caused violation.

violation_id<Integer>

Violation Category.

http_req_url<String>

HTTP Request URL to be relaxed.
Maximum length = 2000

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/si_as_learn_learnt_rules_l2

Query-parameters:

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "si_as_learn_learnt_rules_l2":[{
      "rpt_sample_time":<Double_value>,
      "adm_learn_profile_name":<String_value>,
      "max_value":<Integer_value>,
      "ctnsappname":<String_value>,
      "violation_location":<Integer_value>,
      "field_name":<String_value>,
      "field_type":<String_value>,
      "min_value":<Integer_value>,
      "value_type":<String_value>,
      "value_expr":<String_value>,
      "mode":<Integer_value>,
      "si_device_ip_address":<String_value>,
      "profile_name":<String_value>,
      "count_value":<Integer_value>,
      "violation_id":<Integer_value>,
      "http_req_url":<String_value>}]}